package capricornus.events
{
	import flash.events.Event;
	import flash.utils.ByteArray;
	
	public class SocketEvent extends Event
	{
		public static const SOCKET_CONNECT:String = "socketConnect";
		public var data:ByteArray;
		public var time:uint;
		
		public function SocketEvent(type:String, byte:ByteArray=null, time:uint=0, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = byte;
			this.time = time;
			super(type, bubbles, cancelable);
		}
	}
}